Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Improve curl_for_latency.sh by re-using a TCP connection between requests, removing the noise and delay of the initial connection to better simulate a real-life use case. #227

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

neilferreira
Copy link

Case number: 13875838791

Description of changes:

In a "real life" example where a client would interact with an edge-optimised API, steps 1-3 of this guide is likely to be cached.

By re-using the TCP connection in this script it better pinpoints the increased latency within the connection between CloudFront and API Gateway.

…quests, removing the noise and delay of the initial connection to better simulate a real-life use case.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant